﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mysoft.QuickCode.Office.Excel.Data
{
    /// <summary>
    /// 单元格过滤参数
    /// </summary>
    public class ExcelCellFilter
    {
        public ExcelCellFilter() {
            RowIndex = -1;
        }
        /// <summary>
        /// 记录行索引（从0开始），默认值为 -1 表示不按行索引搜索
        /// </summary>
        public int RowIndex { set; get; }
        
        /// <summary>
        /// 列分组/列所属列组标识号，支持多级分组。
        /// </summary>
        public string ColumnGroup { set; get; }
        /// <summary>
        /// 要获取单元格的字段名称
        /// </summary>
        public string Field { set; get; }

        /// <summary>
        /// 搜索过滤的字段名
        /// </summary>
        public string FilterField { set; get; }

        /// <summary>
        /// 搜索过滤的字段值
        /// </summary>
        public string FilterValue { set; get; }
    }
}
